package com.xiaoKe.zhonghzu.global.tool;


/**
 * @ProjectName : app
 * @Author : Shijingna
 * @Time : 2022/9/26 10:55 上午
 * @Description : 文件描述
 */
public class ConfigUtils {
    //type==1 科创信达  //2 华邦   //3华丽
    static String type = "app2.0";


    public static String fileUrl() { //接口域名
        String url = "";
        if (type.equals("app2.0")) {
            url = SPUtils.getString( "urlImg", "")+":9001/" ;
        }
        return url;
    }
    public static String imgUrl2() { //图片发
       String url = "https://www.ecofuturefarm.com/";
        return url;
    }
    public static String h5url() { //接口域名
        String url = "";
        if (type.equals("app2.0")) {
            url = SPUtils.getString("systemUrlH5", "")+"/";
//            url ="http://oss-app.ecofuturefarm.com/";
        }
        return url;
    }

    public static String imgUrl() { //接口域名
        String url = "";
        if (type.equals("app2.0")) {
            url = "https://www.ecofuturefarm.com/resource/images/afterSalesQRCode.png";
        }
        return url;
    }
}
